<ul>
    <li>1</li>
    <li>2</li>
    <li>3</li>
</ul>
<script>

    let arr=[1,2,3,4]
    let s=new Set("hello")
    let m=new Map([[1,2],["name","zs"]])
    let oli=document.getElementsByTagName("li")
    let oli1=document.querySelectorAll("li")
    console.log(arr);
    console.log(s);
    console.log(m);
    console.log(oli);
    console.log(oli1);


    let obj={
        a:1,
        b:2
    }
    console.log(obj);//对象没有部署iterator接口，所以不能使用iterator遍历器去遍历颞部的数据


    // for(let k in  arr)

    for(let v of  arr){
        console.log(v);
    }
    for(let v of  s){
        console.log(v);
    }
    for(let v of  m){
        console.log(v);
    }
    for(let v of  oli){
        console.log(v);
    }
    for(let v of  oli1){
        console.log(v);
    }
    for(let v of  obj){//obj is not iterable   obj是不可迭代的
        console.log(v);
    }






</script>